package com.otp.service;

import com.otp.pojo.entity.Question;
import com.otp.pojo.request.question.*;
import java.util.List;

public interface QuestionService {
    List<Question> list();
    List<Question> listByStatus(String status);
    Question getById(Long id);
    Question create(QuestionCreateRequest request);
    Question update(QuestionUpdateRequest request);
    Question publish(Long id);
    void delete(Long id);
}